package DesignPatern.A14_迭代器模式.QSB.A01_问题;

/**
 * @Author: Du
 * @Date: 2021/8/2 8:08
 */
public class Project implements IProject
{
    private String name = "";
    private int num = 0;
    private int cost = 0;
    
    public Project(String name, int num, int cost)
    {
        this.name = name;
        this.num = num;
        this.cost = cost;
    }
    
    @Override
    public String getProjectInfo()
    {
        String Info = "";
        
        Info = Info + "项目名称" + this.name;
        Info = Info + "项目人员" + this.num;
        Info = Info + "项目花费" + this.cost;
        return Info;
    }
    
}
